package tt.dz.appserver.service.business;

import java.util.List;

import org.apache.avro.AvroRemoteException;

import tt.dz.appserver.entity.model.dic.City;
import tt.dz.appserver.entity.model.dic.District;
import tt.dz.appserver.entity.model.dic.Province;

/**
 * 字典服务接口
 * @author USER001
 *
 */

public interface DicService {

	/**
	 * 省查询
	 **@param provinceid	省id
	 **@param countryid		国家代码
	 **@param provincename	省名称
	 * @return
	 */
	public List<Province> provinceselect() throws AvroRemoteException;	
	
	/**
	 * 城市查询
	 **@param cityid		城市id
	 * @param provinceid	省id
	 **@param cityname		城市名称
	 * @return
	 */
	public List<City> cityselectbyprovince(String provinceid) throws AvroRemoteException;
	
	/**
	 * 区县查询
	 **@param districtid	县/区ID
	 * @param cityid		城市id
	 **@param districtname	区/县名称
	 * @return
	 */
	public List<District> districtselectbycity(String cityid) throws AvroRemoteException;

}
